package com.qipay.sp;

import com.qipay.baas.model.CpSpChannel;

import java.util.List;

public interface CpSpChannelService {

    int insert(CpSpChannel record);

    void delete(int spChannelId,int agentId);

    List<CpSpChannel> selectByCpIdAndType(int cpId,int channelType);
    List<CpSpChannel> selectBySpChannelId(int spChannelId);

    List<Long> selectSpIds(int cpId, int channelType);

    List<Long> selectSpIdsFirst(int cpId, int channelType, int first);

    List<Long> selectSpIdsFirstDouble(int cpId, int channelType, int priceSupportDouble, int first);
}
